import { request } from 'umi';

/**
 * @description 获取当前登录用户信息
 * @returns
 */
export async function queryCurrentUser() {
  return request('/api/auth/current_user');
}
